home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
5
/
MAZE__
/
CMAZEDOC.H
< prev
next >
Wrap
Text File
|
1991-12-28
|
759b
|
38 lines
/****
* CMazeDoc.h
*
* Document class for a typical application.
*
****/
#define _H_CMazeDoc /* Include this file only once */
#include <CDocument.h>
#include <CApplication.h>
class CDataFile;
struct CMazeDoc : CDocument {
public:
Handle theData ;
int Size;
/** Construction/Destruction **/
void IMazeDoc(CApplication *aSupervisor, Boolean printable);
void Dispose(void);
void DoCommand(long theCommand);
void UpdateMenus(void);
void NewFile(void);
void OpenFile(SFReply *macSFReply);
void BuildWindow(Handle theData, int age);
/** Filing **/
Boolean DoSave(void);
Boolean DoSaveAs(SFReply *macSFReply);
void DoRevert(void);
};